﻿@model IEnumerable<PeopleEntity.ViewNews>
<ul id="ul-news">
    
    @foreach (var item in Model)
    {
        <p />
        <li id="li-news">
            <span class="news-date">@Html.DisplayFor(modelItem => item.Date)</span>
            <br />
            <span class="news-title">@Html.ActionLink(item.Title, "ViewNews", new { id = item.Id })</span>
            <br />
            <span class="news-content">@Html.DisplayFor(modelItem => item.Content)</span>
            <br />
        </li>
    }
</ul>
@Html.ActionLink("All News...", "AllNews")
